﻿namespace Sidvall.LogManager.UI.ViewModels
{
    public partial class LogScopeItemCollectionViewModel : Sidvall.LogManager.UI.ViewModels.Core.EntityListViewModelBase<global::Sidvall.LogManager.UI.Entities.LogScopeItemCollection, global::Sidvall.LogManager.UI.Entities.LogScopeItem>
    {
        protected override string ViewModelResource
        {
            get 
            { 
                return global::Sidvall.LogManager.Data.Model.DomainObjects.LogScopeItem;
            }
        }

        protected override async System.Threading.Tasks.Task<global::Sidvall.LogManager.UI.Entities.LogScopeItemCollection> SaveItemAsync(global::Sidvall.LogManager.UI.Entities.LogScopeItemCollection item)
        {
            return await item.SaveItemsAsync();
        }
    }
}